package com.team.mapper;

import com.team.entity.AppInfo;
import com.team.entity.AppInfoExample;
import com.team.utils.AppInfoCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppInfo record);

    int insertSelective(AppInfo record);

    List<AppInfo> selectByExample(AppInfoExample example);

    AppInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AppInfo record);

    int updateByPrimaryKey(AppInfo record);

    List<AppInfo> findAllBasicAPPInformation(AppInfoCondition appInfoCondition);

    AppInfo selectByPrimaryKey2(Long id);

    List<AppInfo> getAllAppInfoByState(AppInfoCondition appInfoCondition);

    AppInfo getAllAppInfoByCondition(@Param(value = "appid") Long id);
}